package com.nineclock.document.service.Impl;

import com.nineclock.document.dto.DocFileHistoryDto;
import com.nineclock.document.mapper.DocFileHistoryMapper;
import com.nineclock.document.service.DocFileHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class DocFileHistoryServiceImpl implements DocFileHistoryService {

    @Autowired
    DocFileHistoryMapper docFileHistoryMapper;

    @Override
    public DocFileHistoryDto queryDocFileHistoryDtoLst(Integer fileId) {

        DocFileHistoryDto docFileHistoryDto = docFileHistoryMapper.selectById(fileId);

        return docFileHistoryDto;
    }
}
